#include <Servo.h>
 
int potPin = 0;
int servoPin = 9;
Servo servo;
void setup()
{
  servo.attach(servoPin);
   Serial.begin(9600);      // open the serial port at 9600 bps:    
}
void loop()
{
  int reading = analogRead(potPin); // 0 to 1023
  int angle = reading / 6; // 0 to 180-ish
//  servo.write(angle);
  Serial.println(reading);
  delay(500);
} 
